package cn.edu.qzit.linpq.web;

import cn.edu.qzit.linpq.base.web.BaseController;
import cn.edu.qzit.linpq.dao.StudentMapper;
import cn.edu.qzit.linpq.entity.Student;
import cn.edu.qzit.linpq.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName : cn.edu.qzit.linpq.web.StudentController
 * Desc : 用户控制层：用来控制访问&跳转&返回
 *
 * @author : LINPQ
 * @date : 2022/6/16 11:07
 */
@Controller
@RequestMapping("student")
public class StudentController extends BaseController<StudentService,Student> {

    @Override
    public  String getPerfix(){
        return  "/student";
    }


}
